UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH daemon must restrict login ability to specific users and/or groups.


Overview

Finding ID Version Rule ID IA Controls Severity
V-226992 GEN005521 SV-226992r505925_rule Medium
Description
Restricting SSH logins to a limited group of users, such as system administrators, prevents password-guessing and other SSH attacks from reaching system accounts and other accounts not authorized for SSH access.
STIG Date
Solaris 10 SPARC Security Technical Implementation Guide 2020-09-04

Details

Check Text ( C-29154r485315_chk )
Check the SSH daemon configuration for the AllowGroups setting.
# grep -i AllowGroups /etc/ssh/sshd_config | grep -v '^#'
If no lines are returned, this is a finding.
Fix Text (F-29142r485316_fix)
Edit the SSH daemon configuration and add an AllowGroups directive.